package com.ls.fw.search.solrj.form.core;

import org.hibernate.validator.constraints.NotBlank;

import com.ls.fw.search.solrj.bean.Split;

public class SplitForm {
	private String[] path;
	private String[] targetCore;
	private String ranges;
	private String async;
	private Split split;

	public SplitForm() {
		super();
		this.action = "SPLIT";
	}
	@NotBlank
	protected String action;
	protected String core;
	public String getAction() {
		return action;
	}
	public void setAction(String action) {
		this.action = action;
	}
	public String getCore() {
		return core;
	}
	public void setCore(String core) {
		this.core = core;
	}
	public String[] getPath() {
		return path;
	}

	public void setPath(String[] path) {
		this.path = path;
	}

	public String[] getTargetCore() {
		return targetCore;
	}

	public void setTargetCore(String[] targetCore) {
		this.targetCore = targetCore;
	}

	public String getRanges() {
		return ranges;
	}

	public void setRanges(String ranges) {
		this.ranges = ranges;
	}

	public String getAsync() {
		return async;
	}

	public void setAsync(String async) {
		this.async = async;
	}

	public Split getSplit() {
		return split;
	}

	public void setSplit(Split split) {
		this.split = split;
	}
}
